/*
 * @Author: ૮₍ ˙О˙₎ა
 * @Date: 2023-07-01 10:42:35
 */
import type { App } from 'vue'
import {
  Tabbar,
  TabbarItem,
  Icon,
  Swipe,
  SwipeItem,
  SubmitBar,
  Card,
  Radio,
  Checkbox,
  Stepper,
  Search,
  Button,
  Cell,
  CellGroup,
  List,
  NavBar,
  ContactCard,
  Tag,
  Dialog,
  SwipeCell,
  Col,
  Row,
  Sticky,
  Sidebar,
  SidebarItem,
  Image as VanImage,
  Grid,
  GridItem,
  Tab,
  Tabs,
  CountDown,
  Popup,
  Area,
  Toast,
  Space,
  BackTop,Image ,Overlay , CheckboxGroup , Form, Field, RadioGroup
} from 'vant'

const components = [
  Tabbar,
  TabbarItem,
  Icon,
  Swipe,
  SwipeItem,
  SubmitBar,
  Card,
  Radio,
  Checkbox,
  Stepper,
  Search,
  Button,
  Cell,
  CellGroup,
  List,
  NavBar,
  ContactCard,
  Tag,
  Dialog,
  SwipeCell,
  Col,
  Row,
  Sticky,
  Sidebar,
  SidebarItem,
  VanImage,
  Grid,
  GridItem,
  Tab,
  Tabs,
  Tag,
  Icon,
  Card,
  Swipe,
  SwipeItem,
  CountDown,
  Stepper,
  Popup,
  Cell,
  Area,
  Toast,
  Space,
  BackTop,
  Image ,Overlay , CheckboxGroup , Form, Field, RadioGroup
]

export default {
  install(app: App) {
    components.forEach((component) => {
      app.component(component.name, component)
    })
  }
}
